<template>
  <div>
    <h2>首页</h2>
    <router-link :to="{path:'/login'}">去登陆</router-link>
  </div>

</template>

<script>
export default {
  data(){},
  created(){
    console.log(this.$store.state);
  }
};
</script>

<style>

</style>
